package view;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 * This class renders a panel in the GamePanel which holds
 * all the equipment that the avatar currently has equipped.
 * 
 * @author Stephanie
 *
 */
public class EquipmentPanel extends JPanel {
	
	private Image img;
	
	public EquipmentPanel() {
		img = new ImageIcon("images/EquipmentPanel.jpg").getImage();
		setSize(200,100);
		setLocation(600,250);
		setVisible(true);
		setLayout(null);
	}
	
	protected void paintComponent(Graphics g)
	{
		g.drawImage(img,0,0,null);
		g.setColor(Color.RED);
		g.drawString("Equipment",50,50);

	}

}
